package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.AttendExam;
import com.hznu.jspFinal.entity.Exam;

import java.util.Date;
import java.util.List;

/**
 * @author jamesZhan
 */
public interface ExamService {
    void add(Exam exam);

    Exam findByExamId(Integer id);

    void update(Exam exam);

    void delete(Integer id);

    Exam findByName(String name);

    List<Exam> selectByCourseId(Integer courseid);

    List<Exam> findByStudentId(Integer studentid);

    List<Exam> selectByCourseTeachid(Integer courseteachid);

}
